package com.yuanlai.quartz.model.enums;

/**
 * 返回结果状态
 * @author yuanlai
 *
 */
public enum RequestStatusEnum {
	SUCCESS("成功", "0000"), 
	FAIL("失败", "1999"), 
	EXCEPTION("异常", "1111");
	
    private String name;
	
	private String code;
	
	private RequestStatusEnum(String name, String code) {
		this.name = name;
		this.code = code;
	}

	public String getName() {
		
		return this.name;
	}

	public String getCode() {
		return this.code;
	}
}
